package com.hsnn.medstgmini.base.std.model;

public enum MergeStatus {

	unprocessed(0, "未处理"), processed(1, "已处理 ");

	private int key;
	private String value;

	private MergeStatus(int key, String value) {
		this.key = key;
		this.value = value;
	}

	public static String getName(int key) {
		for (MergeStatus status : MergeStatus.values()) {
			if (status.key == key) {
				return status.value;
			}
		}
		return "";
	}

	public int getKey() {
		return key;
	}

	public void setKey(int key) {
		this.key = key;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

}
